import java.io.File;

/**
 * @auther Macrydy
 * @date 2020/7/17 9:05
 */
public class Demo {
    public static void main(String[] args) {
        File file = new File("F:\\");
        File[] files = file.listFiles();
        for (File file1 : files) {
            System.out.println(file1);
        }
    }


}
